<div class="pageHeader">
<form onsubmit="return navTabSearch(this);"
	action="#{$smarty.const.ACT}#/Sys/sys_log_show/" method="post">
<div class="searchBar">
<table class="searchContent">
        <tr>
          <td><select class="combox" name="searchKeyword">
              <option value="ipaddr" #{if $searchKeyword eq 'ipaddr'}# selected="selected" #{/if}#>操作地址</option>
              <option value="content" #{if $searchKeyword eq 'content'}# selected="selected" #{/if}#>操作内容</option>
            </select>
          </td>
          <td><input type="text" name="searchValue" value="#{$searchValue}#" /></td>
          <td>操作时间:</td>
          <td><input type="text" name="startdate" size='10' class="date" value="#{$startdate}#" /> - 
          	<input type="text" name="enddate" size='10' class="date" value="#{$enddate}#" /></td>
          <td>操作人员:</td>
          <td><table width="100" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>        <input name="org.id" id="accountID"  value="" type="hidden"/>
                            <input name="org.account" type="text" value="#{$editor}#"/>
                </td>
                <td>
                <a class="btnLook" href="#{$smarty.const.ACT}#/SysUser/lookup_search/" lookupGroup="org" title="操作人员搜索">选择</a></td>
              </tr>
            </table></td>                       
          <td><ul>
              <li>
                <div class="buttonActive">
                  <div class="buttonContent">
                    <button type="submit">检索</button>
                  </div>
                </div>
              </li>
            </ul></td>
        </tr>
      </table>



<div class="subBar"></div>
</div>
</form>
</div>
<div class="pageContent">
<div class="panelBar">
<ul class="toolBar">
	<li>
	<a class="delete" href="#{$smarty.const.ACT}#/Sys/sys_log_del/" postType="string" title="确定要删除吗?"  target="selectedTodo" rel="ids"><span>删除选择</span></a></li>
 	<li>
	<li class="line">line</li>
	<li><a class="icon"
		href="#{$smarty.const.ACT}#/Sys/sys_log_del_all/" title="确定要清空全部日志吗?" 
	 target="ajaxTodo" external="true"><span>清空日志</span></a>
	</li>
</ul>
</div>
<ul>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="25"><input type="checkbox" group="ids"
					class="checkboxCtrl"></th>
            <th width="60" align="center">操作人员</th>
            <th width="100" align="center">操作地址</th>
            <th width="140" align="center">操作时间</th>
            <th align="100">详细内容</th>
			</tr>
		</thead>
		<tbody>

			#{foreach from=$list key=k item=v}#
			<tr target="sid_user" rel="#{$v.id}#">
			<td><input name="ids" value="#{$v.id}#" type="checkbox"></td>
            <td align="left">#{$v.editor}#</td>
            <td align="left">#{$v.ipaddr}#</td>
            <td align="left">#{$v.adddatetime}#</td>
            <td align="left">#{$v.content}#</td>
			</tr>
			#{/foreach}#
		</tbody>

	</table>
	<div class="panelBar">
	<form id="pagerForm" method="post"
		action="#{$smarty.const.ACT}#/Sys/sys_log_show/"><input
		type="hidden" name="pageNum" value="1" /> <input type="hidden"
		name="numPerPage" value="#{$numPerPage}#" /> <input type="hidden"
		name="orderField" value="${param.orderField}" />
        <input type="hidden" name="searchKeyword" value="#{$searchKeyword}#" />
        <input type="hidden" name="searchValue" value="#{$searchValue}#" />
        <input type="hidden" name="startdate" value="#{$startdate}#" />
        <input type="hidden" name="enddate" value="#{$enddate}#" />
        </form>
	<div class="pages"><span>显示</span> <select class="combox"
		name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
		<option value="20">20</option>
		<option value="50">50</option>
		<option value="100">100</option>
		<option value="200">200</option>
	</select> <span>条，共#{$totalCount}#条</span></div>
	<div class="pagination" targetType="navTab"
		totalCount="#{$totalCount}#" numPerPage="#{$numPerPage}#"
		pageNumShown="10" currentPage="#{$currentPage}#"></div>
	</div>
</ul>
</div>
